<% define_content :link do %>
  <%= account_url(asset.account_id) %>
<% end %>

<% define_content :subject do %>
  <%= t :subject, "Account Admin Notification" %>
<% end %>

<% define_content :footer_link do %>
  <a href="<%= content :link %>">
    {{#t}}Visit the account page{{/t}}
  </a>
<% end %>

<p>
  <%=  t("You've been given an account role for the %{account} account at %{website}. Role type: %{role_type}.",
      :role_type => asset.readable_type, :account => asset.account.name, :website => HostUrl.context_host(asset.account)) %>
</p>

